import request from '@/utils/request';

export function getAllTypes(data) {
    return request({
        url: '/chartPoint/getAllTypes',
        method: 'GET',
    });
}

export function addPoint(data) {
    return request({
        url: '/chartPoint/addPoint',
        method: 'POST',
        data
    });
}

export function getPoints(data) {
    return request({
        url: '/chartPoint/getPoints',
        method: 'GET',
		data
    });
}

export function download(data) {
    return request({
        url: '/chart/download',
        method: 'POST',
        data
    });
}